using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace AttributesFramework.Attributes
{
    [AttributeUsage(AttributeTargets.Property)]
    public class DBColumnAttribute : Attribute
    {
        public string Name { get; set; }
        public string PropertyName { get; set; }
        public int Size { get; set; }
        public SqlDbType DataType { get; set; }
        public bool isReadOnly { get; set; }
        public bool isPrimaryKey { get; set; }
        public bool isAutoIncrement { get; set; }
        public string DefaultValue { get; set; }
        public bool AllowNull { get; set; }
    }
}
